package io.github.wjehovah.yyn.data;

/**
 * Created by wuyong on 15/8/3.一些常量数据
 */
public interface Budejie {
    String TAG = "Budejie";
    int TYPE = 4;
    int ID_OF_VIDEO = 0;
    int ID_OF_IMG = 1;
    int ID_OF_JOKE = 2;
    int ID_OF_VOICE = 3;

    int TYPE_ALL = 1;
    int TYPE_VIDEO = 41;
    int TYPE_IMG = 10;
    int TYPE_DUANZI = 29;
    int TYPE_VIOCE = 31;
    String[] homeEssence = {"全部", "视频", "图片", "段子", "排行"};
    String[] homeLatest = {"全部", "视频", "图片", "段子", " 声音"};


    String[][] data = new String[][]{homeEssence, homeLatest};
    /**
     * 某一条id为id=15067760，点赞的url；
     */
    String REQUEST_JOKE_ZHAN =
            "http://api.budejie.com/api/api_open.php?udid=865528029212234&a=love&c=data&id=15067760&tj_from=text&visiting=&dong=love";
    //精华
    String ESSENCE_ALL = "http://api.budejie.com/api/api_open.php?a=list&c=data&type=1&maxtime=";
    String ESSENCE_JOKE_URL = "http://api.budejie.com/api/api_open.php?a=list&c=data&type=29&page=1&per=20&maxtime=";
    String ESSENCE_IMG_URL = "http://api.budejie.com/api/api_open.php?a=list&c=data&type=10&page=1&per=20&maxtime=";
    String ESSENCE_VIDEO_URL = "http://api.budejie.com/api/api_open.php?a=list&c=video&type=41&page=1&per=20&maxtime=";
    String ESSENCE_RANK_URL = "http://api.budejie.com/api/api_open.php?a=list&c=data&type=1&order=repost&maxtime=";
    String POSITION = "position";
    //最新
    String LAST_ALL = "http://api.budejie.com/api/api_open.php?a=newlist&c=data&type=1&maxtime=";
    String LAST_VIDEO = "http://api.budejie.com/api/api_open.php?a=newlist&c=data&type=41&maxtime=";
    String LAST_JOKE = "http://api.budejie.com/api/api_open.php?a=newlist&c=data&type=29&maxtime=";
    String LAST_IMG = "http://api.budejie.com/api/api_open.php?a=newlist&c=data&type=10&maxtime=";
    String LAST_VOICE_URL = "http://api.budejie.com/api/api_open.php?a=newlist&c=voice&type=31&page=1&per=20&maxtime=";
    //profile 要拼接 url  &lastid= &visit_uid=
    String PERSONAL_PROFILE_URL =
            "http://api.budejie.com/api/api_open.php?a=mytopic&c=topic&type=1&order_name=create_time&order_type=desc";
    /**
     * 1精华全部 maxid
     * 2最新加载更多 全部、视频、声音maxtime
     * 图片、段子、排行 maxid
     */
    /**
     * 请求gridview内容的url；
     */
    /**
     * 顶 踩
     * http://api.budejie.com/api/api_open.php?a=love&c=data&dong=love&tj_from=image&id=
     * http://api.budejie.com/api/api_open.php?a=cai&c=data&dong=cai&tj_from=image&id=
     */
    String DONG_URL = "http://api.budejie.com/api/api_open.php?a=cai&c=data";
    String REQUEST_GRIDEVIEW = "http://api.budejie.com/api/api_open.php?&a=square&c=topic";



    /**
     * 订阅的Url
     */
    String SUBSCRIPT_URL = "http://api.budejie.com/api/api_open.php?&a=tags_list&c=subscribe";


    /**
     * 订阅列表的某一项的基本url
     */
    String SUBSCRIPT_ITEM_BASEURL = "http://api.budejie.com/api/api_open.php?&order=new&a=theme_datalist&appname=baisibudejie&pagesize=20&c=topic&page=1&type=0&ver=5.9.9&theme_id=";

    String PROFILE = "profile";

    /**
     * 订阅中搜索的url
     */
    String SUBSCRTPT_SEARCH = "http://api.budejie.com/api/api_open.php?a=tag_search&c=topic&ver=6.0.0&kw=";

}
